/**
 * Created by Administrator on 2017/5/31 0031.
 */
define(["jquery", "template", "scprit/department/view/template/addMissionTemplate-tpl.js"], function ($, template, tpl) {
    var question = {};
    var inTable = function (data) {
        return template("myThumbnail", data);
    }
    question.temInit = function (options) {
        $("body").append(tpl.init());
        var html = inTable(options);
        $(options.id).append(html);
    }
    question.temInit2 = function (options) {
        $("body").append(tpl.init());
        var html = inTable(options);
        $(options.id).html(html);
    }
    return question;
});
